.nrietgrid .nrietpanel-body {
  overflow: hidden;
  position: relative;
}
.nrietgrid-view {
  position: relative;
  overflow: hidden;
}
.nrietgrid-view1,
.nrietgrid-view2 {
  position: absolute;
  overflow: hidden;
  top: 0;
}
.nrietgrid-view1 {
  left: 0;
}
.nrietgrid-view2 {
  right: 0;
}
.nrietgrid-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  filter: alpha(opacity=30);
  display: none;
}
.nrietgrid-mask-msg {
  position: absolute;
  top: 50%;
  margin-top: 0;
  padding: 0px 5px 10px 30px;
  width: auto;
  height: 30px;
  border-width: 2px;
  border-style: solid;
  display: none;
}
.nrietgrid-sort-icon {
  padding: 0;
}
.nrietgrid-toolbar {
  height: auto;
  padding: 1px 2px;
  border-width: 0;
  border-style: solid;
}
.nrietgrid-btn-separator {
  float: left;
  height: 24px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #fff;
  margin: 2px 1px;
}
.nrietgrid .nrietgrid-pager {
  margin: 0;
  border-width: 1px 0 0 0;
  border-style: solid;
}
.nrietgrid .nrietgrid-pager-top {
  border-width: 0 0 1px 0;
}
.nrietgrid-header {
  overflow: hidden;
  cursor: default;
  border-width: 0 0 1px 0;
  border-style: solid;
}
.nrietgrid-header-inner {
  float: left;
  width: 10000px;
}
.nrietgrid-header-row,
.nrietgrid-row {
  height: 30px;
}

.nrietgrid-body td,
.nrietgrid-footer td {
  border-width: 1px 1px 0 0;
 /*  border-style: dotted; */
  margin: 0;
  padding: 0;
}

.nrietgrid-header td {
	border-width: 0 1px 0 0;
}

.nrietgrid-header .nrietgrid-header-row td:last {
	border-width: 0px 1px 0 0;
}

.nrietgrid-view1 .nrietgrid-htable .nrietgrid-cell, .nrietgrid-cell-group, .nrietgrid-header-rownumber, .nrietgrid-cell-rownumber {
    margin: 0;
    padding: 0 4px;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    line-height: 40px;
    font-weight: normal;
    font-size: 20px !important;
    font-family: '新宋体 ,Arial';
    letter-spacing: 1px;
}

.nrietgrid-cell,
.nrietgrid-cell-group,
.nrietgrid-header-rownumber,
.nrietgrid-cell-rownumber {
  margin: 0;
  padding: 0 4px;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 40px;
  line-height: 40px;
  font-weight: normal;
  font-size: 16px !important;
  /* color: #000; */
  font-family: '新宋体 ,Arial';
  letter-spacing: 1px;
}
.nrietgrid-cell-group {
  text-align: center;
}
.nrietgrid-header-rownumber,
.nrietgrid-cell-rownumber {
  width: 25px;
  text-align: center;
  margin: 0;
  padding: 0;
}
.nrietgrid-body {
  margin: 0;
  padding: 0;
  overflow: auto;
  zoom: 1;
}
.nrietgrid-view1 .nrietgrid-body-inner {
  padding-bottom: 20px;
}
.nrietgrid-view1 .nrietgrid-body {
  overflow: hidden;
}
.nrietgrid-footer {
  overflow: hidden;
}
.nrietgrid-footer-inner {
  border-width: 1px 0 0 0;
  border-style: solid;
  width: 10000px;
  float: left;
}
.nrietgrid-row-editing .nrietgrid-cell {
  height: auto;
}
.nrietgrid-header-check,
.nrietgrid-cell-check {
  padding: 0;
  width: 27px;
  height: 35px;
  font-size: 1px;
  text-align: center;
  overflow: hidden;
}
.nrietgrid-header-check input,
.nrietgrid-cell-check input {
  margin: 0;
  padding: 0;
  width: 15px;
  height: 35px;
}
.nrietgrid-resize-proxy {
  position: absolute;
  width: 1px;
  height: 10000px;
  top: 0;
  cursor: e-resize;
  display: none;
}
.nrietgrid-body .nrietgrid-editable {
  margin: 0;
  padding: 0;
}
.nrietgrid-body .nrietgrid-editable table {
  width: 100%;
  height: 100%;
}
.nrietgrid-body .nrietgrid-editable td {
  border: 0;
  margin: 0;
  padding: 0;
}
.nrietgrid-body .nrietgrid-editable .nrietgrid-editable-input {
  margin: 0;
  padding: 2px;
  border-width: 1px;
  border-style: solid;
}
.nrietgrid-sort-desc .nrietgrid-sort-icon {
  padding: 0 13px 0 0;
  background: url('images/ngrid_icons.png') no-repeat -16px center;
}
.nrietgrid-sort-asc .nrietgrid-sort-icon {
  padding: 0 13px 0 0;
  background: url('images/ngrid_icons.png') no-repeat 0px center;
}
.nrietgrid-row-collapse {
  background: url('images/ngrid_icons.png') no-repeat -48px center;
}
.nrietgrid-row-expand {
  background: url('images/ngrid_icons.png') no-repeat -32px center;
}
.nrietgrid-mask-msg {
  background: #ffffff url('images/loading.gif') no-repeat scroll 5px center;
}
.nrietgrid-header,
.nrietgrid-td-rownumber {
  background-color: #D7E7FB;
  /* background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%);
  background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%);
  background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%);
  background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); */
}
.nrietgrid-cell-rownumber {
  color: #000000;
}
.nrietgrid-resize-proxy {
  background: #aac5e7;
}
.nrietgrid-mask {
  background: #ccc;
}
.nrietgrid-mask-msg {
  border-color: #95B8E7;
  border-radius: 3px;
}
.nrietgrid-toolbar,
.nrietgrid-pager {
  background: #F4F4F4;
}
.nrietgrid-header,
.nrietgrid-toolbar,
.nrietgrid-pager,
.nrietgrid-footer-inner {
  border-color: #bac2cf;
}
.nrietgrid-header td,
.nrietgrid-footer td {
  border-color: #2e3748;
  border-style: solid;
}

.nrietgrid-body td{
  border-color: #99a6c0;
  border-style: solid;
  border-bottom-width: 1px;
}
.nrietgrid-htable,
.nrietgrid-btable,
.nrietgrid-ftable {
    color: #fff;
    dispay: block;
}
.nrietgrid-row-alt {
  background: #d7e7fb;
}
.nrietgrid-row-over,
.nrietgrid-header {
  background: #627ea0 !important;
  color: #2d2e43;
  cursor: default;
  /* height: 37px !important; */
}
td.nrietgrid-header-over {/*鼠标悬停在表头的样式   需要请添加*/
	
}
.nrietgrid-view2 .nrietgrid-row-selected td{
  color: #fff;
  border-top: 1px solid #5975b8;
  border-bottom: 1px solid #5975b8;
  background: #6394F4;
  border-right: 1px solid #5975b8;
}
.nrietgrid-view2 .nrietgrid-row-selected td:last-child{
	border-right: 1px solid #5996f0;
}
.nrietgrid-view1 .nrietgrid-row-selected td{
  border-top: 1px solid #5975b8;
  /* border-left: 1px solid #5975b8; */
  border-bottom: 1px solid #5975b8;
  background: #6394F4;
  border-right: 1px solid #5975b8;
  color: #fff;
}

.nrietgrid-view2 div:not(.nrietgrid-editable).nrietgrid-cell-selected {
	border: 1px solid #5996f0;
}

.nrietgrid-body .nrietgrid-editable .nrietgrid-editable-input {
  border-color: #95B8E7;
}

.validatebox-invalid {
  background-image: url('images/validatebox_warning.png');
  background-repeat: no-repeat;
  background-position: right center;
  border-color: #ffa8a8;
  background-color: #fff3f3;
  color: #000;
}
.textbox-text{
	font-size:14px!important;
}

span.textbox{
	border: 0;
	border: 1px solid #5996f0 !important;
    float: left;
}
.nrietgrid-editable-input{
	border-radius:5px;
}
.nrietgrid-a-plus{
	text-decoration: none;
	border-color: #5996f0;
    border-style: solid;
    border-width: 0 0 1px 1px;
    border-radius: 5px 5px 0 0;
    right: 0;
    top: 0;
    position: absolute;
    height: 50%;
    line-height: 100%;
    text-align: center;
    width: 15px;
}
.nrietgrid-a-plus:hover{
	background: #5996f0;
	color: #fff;
}
.nrietgrid-a-sub{
	text-decoration: none;
	border-color: #5996f0;
    border-style: solid;
    border-width: 0 0 1px 1px;
    border-radius: 0 0 0 5px ;
    right: 0;
    bottom: 0;
    position: absolute;
    height: 50%;
    line-height: 100%;
    text-align: center;
    width: 15px;
}
.nrietgrid-a-sub:hover{
	background: #5996f0;
	color: #fff;
}
.nrietgrid-panelnumbox-panel{
	position: absolute;
	width: 260px;
	height: 85px !important;
	background: rgba(0, 0, 0, 0.75);
	padding: 0 10px;
}
.nrietgrid-panelnumbox-panel label{
	padding: 5px;
	color: #fff;
}

.nrietgrid-btn{
	text-decoration: none;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    background: #fff;
    font-size: 20px;
    float: left;
    margin: 0 0 0 5px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    width: 32px;
}
.nrietgrid-btn:hover{
	background: #5996f0;
	color: #fff;
}
.nrietgrid-editable span[name="cellhtm"]{
    /* border: 1px solid #5996f0; */
    display: block;
    /* border-radius: 5px; */
    padding: 0 5px;
    background: rgb(74,131,246);
    color: #fff;
}
.nrietgrid-nselect-panel{
	position: absolute;
	max-height:500px;
	background: rgba(0, 0, 0, 0.75);
	overflow-y: auto;
}
.nrietgrid-nselect-panel ul {
	margin-bottom: 0;
}
.nrietgrid-nselect-li{
    overflow: hidden;
    text-overflow: ellipsis;
	color: #fff;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
.nrietgrid-nselect-li:hover{
	background: rgba(31,96,216, 0.95);
}
.nrietgrid-npanelbox-panel{
 	position: absolute;
    background: rgba(74,131,246,0.95);
    box-shadow: rgba(48, 63, 119, 0.42) 0px 13px 42px;

}
.nrietgrid-npanelbox-panel ul{
	margin:0;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
.nrietgrid-npanelbox-li{
	width: 110px;
	height: 35px;
	line-height: 35px;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
	text-align: center;
	float: left;
	border-bottom: 1px dashed #96d4f9;
	border-right: 1px dashed #96d4f9;
	/* box-shadow: rgba(0,0,0,0.2) 0px 1px 5px; */
}

.nrietgrid-col-selected{
	border-right: 1px solid #5975b8 !important;
	border-left: 1px solid #5975b8 !important;
	border-bottom: 1px solid #5975b8 !important;
	background: #6394F4;
	font-family: '新宋体, Arial';
	color: #fff;
}
.nrietgrid-col-selected-prev{
	border-right: 1px solid #5975b8 !important;
}
.nrietgrid-col-selected-top{
	border-top: 1px solid #5975b8 !important;
}
.nrietgrid-col-selected-bottom{
	border-bottom: 1px solid #5975b8 !important;
}

.nrietgrid-npanelbox-li:hover{
	background: rgba(31,96,216, 0.95);
}

.nrietgrid-copy {
	position:absolute;
	width: 15px;
	height: 13px;
	background: url('images/cafe-ngrid/copy.png') no-repeat 100% 100%;
}

.nrietgrid-body .nrietgrid-panelnumbox-panel .textbox{
	width: 125px !important;
}

.nrietgrid-cell-group{
      font-size: 20px !important;
    font-weight: 500 !important;
    color: #fff;
    font-family: '新宋体, Arial';
}

.nrietgrid-body textarea{
	resize: none;
}

.nrietgrid-view2 .nrietgrid-body tr:last-child{
    border-bottom: 1px solid #99a6c0;
}

.nrietgrid-view2 .nrietgrid-body td:last-child{
    border-right: 0 !important;
}

.nrietgrid-view2 .nrietgrid-header td:last-child{
    border-right: 0 !important;
}

.nrietgrid-view1 .nrietgrid-body tr:last-child{
    border-bottom: 0;
}